package com.pengtu.dao.report;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.pengtu.dao.hibernate.HibernateDao;
import com.pengtu.entity.LabelValue;
import com.pengtu.entity.report.Materialtest;

@Repository
public class MaterialtestDao extends HibernateDao<Materialtest, String> {

	public List<LabelValue> find(String conSignId) {
		String hql = " SELECT distinct new com.pengtu.entity.LabelValue( m.batch,  m.batch)FROM Materialtest m WHERE m.sid = '"
				+ conSignId + "' and m.delFlag = '0' ";
		return super.find(hql);
	}
}
